<html><head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta content="text/javascript" http-equiv="content-script-type">
<title>tango.time.chrono.Hijri</title>

<link rel="stylesheet" type="text/css" href="css/style.css">
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="css/ie56hack.css"><![endif]-->
<script language="JavaScript" src="js/util.js" type="text/javascript"></script>
<script language="JavaScript" src="js/tree.js" type="text/javascript"></script>
<script language="JavaScript" src="js/explorer.js" type="text/javascript"></script>
<script>
function anchorFromTitle(title, path, ext) {
  var url = path + title + "." + ext;
  document.write("<a href='" + url + "'>" + title + "</a>");
  }
</script>
</head><body>
<div id="tabarea"></div><div id="explorerclient"></div>
<div id="content"><script>explorer.initialize("tango.time.chrono.Hijri");</script>
        <table class="content">
                <tr><td id="docbody"><h1><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461">tango.time.chrono.Hijri</a></h1>
                
<b>License:</b><br>
BSD style: see <a href="http://www.dsource.org/projects/tango/wiki/LibraryLicense">license.txt</a><br><br>
<b>Version:</b><br>
Mid 2005: Initial release
                        Apr 2007: reshaped<br><br>
<b>author:</b><br>John Chapman, Kris<br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>class <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L23">Hijri</a></span>
<script>explorer.outline.addDecl('Hijri');</script> : Calendar; [public]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">
 Represents the Hijri calendar.
 </font><br><br>
<dl>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L30">HIJRI_ERA</a></span>
<script>explorer.outline.addDecl('HIJRI_ERA');</script>; [public, const]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Represents the current era.
   </font><br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>Time <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L45">toTime</a></span>
<script>explorer.outline.addDecl('toTime');</script>(uint <span class="funcparam">year</span>, uint <span class="funcparam">month</span>, uint <span class="funcparam">day</span>, uint <span class="funcparam">hour</span>, uint <span class="funcparam">minute</span>, uint <span class="funcparam">second</span>, uint <span class="funcparam">millisecond</span>, uint <span class="funcparam">era</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns a Time value set to the specified date and time in the specified _era.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">year</span></td><td>An integer representing the _year.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">month</span></td><td>An integer representing the _month.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">day</span></td><td>An integer representing the _day.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">hour</span></td><td>An integer representing the _hour.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">minute</span></td><td>An integer representing the _minute.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">second</span></td><td>An integer representing the _second.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">millisecond</span></td><td>An integer representing the _millisecond.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">era</span></td><td>An integer representing the _era.</td></tr></table><br>
<b>Returns:</b><br>
A Time set to the specified date and time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>DayOfWeek <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L54">getDayOfWeek</a></span>
<script>explorer.outline.addDecl('getDayOfWeek');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the day of the week in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
A DayOfWeek value representing the day of the week of time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L63">getDayOfMonth</a></span>
<script>explorer.outline.addDecl('getDayOfMonth');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the day of the month in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
An integer representing the day of the month of time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L72">getDayOfYear</a></span>
<script>explorer.outline.addDecl('getDayOfYear');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the day of the year in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
An integer representing the day of the year of time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L81">getMonth</a></span>
<script>explorer.outline.addDecl('getMonth');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the day of the year in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
An integer representing the day of the year of time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L90">getYear</a></span>
<script>explorer.outline.addDecl('getYear');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the year in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
An integer representing the year in time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L99">getEra</a></span>
<script>explorer.outline.addDecl('getEra');</script>(Time <span class="funcparam">time</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the era in the specified Time.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">time</span></td><td>A Time value.</td></tr></table><br>
<b>Returns:</b><br>
An integer representing the ear in time.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L111">getDaysInMonth</a></span>
<script>explorer.outline.addDecl('getDaysInMonth');</script>(uint <span class="funcparam">year</span>, uint <span class="funcparam">month</span>, uint <span class="funcparam">era</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the number of days in the specified _year and _month of the specified _era.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">year</span></td><td>An integer representing the _year.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">month</span></td><td>An integer representing the _month.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">era</span></td><td>An integer representing the _era.</td></tr></table><br>
<b>Returns:</b><br>
The number of days in the specified _year and _month of the specified _era.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L124">getDaysInYear</a></span>
<script>explorer.outline.addDecl('getDaysInYear');</script>(uint <span class="funcparam">year</span>, uint <span class="funcparam">era</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the number of days in the specified _year of the specified _era.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">year</span></td><td>An integer representing the _year.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">era</span></td><td>An integer representing the _era.</td></tr></table><br>
<b>Returns:</b><br>
The number of days in the specified _year in the specified _era.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L135">getMonthsInYear</a></span>
<script>explorer.outline.addDecl('getMonthsInYear');</script>(uint <span class="funcparam">year</span>, uint <span class="funcparam">era</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Returns the number of months in the specified _year of the specified _era.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">year</span></td><td>An integer representing the _year.</td></tr>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">era</span></td><td>An integer representing the _era.</td></tr></table><br>
<b>Returns:</b><br>
The number of months in the specified _year in the specified _era.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>bool <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L145">isLeapYear</a></span>
<script>explorer.outline.addDecl('isLeapYear');</script>(uint <span class="funcparam">year</span>, uint <span class="funcparam">era</span>); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black">Overridden. Indicates whether the specified _year in the specified _era is a leap _year.
 </font><br><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">year</span></td><td>An integer representing the _year.</td></tr></table><br>
<b>Params:</b><br>
<table>
<tr><td nowrap valign="top" style="padding-right: 8px"><span class="funcparam">era</span></td><td>An integer representing the _era.</td></tr></table><br>
<b>Returns:</b><br>
true is the specified _year is a leap _year; otherwise, false.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint[] <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L153">eras</a></span>
<script>explorer.outline.addDecl('eras');</script>(); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black"><i>Property.</i> Overridden. Retrieves the list of eras in the current calendar.
 </font><br><br>
<b>Returns:</b><br>
An integer array representing the eras in the current calendar.<br><br></dd>
<script>explorer.outline.writeEnabled = true;</script>
<dt><span class="decl"><li>uint <span class="currsymbol"><a href="http://www.dsource.org/projects/tango/browser/trunk/tango/time/chrono/Hijri.d?rev=3461#L162">id</a></span>
<script>explorer.outline.addDecl('id');</script>(); [public, override]</li></span></dt>
<script>explorer.outline.writeEnabled = false;</script>
<dd>
<font color="black"><i>Property.</i> Overridden. Retrieves the identifier associated with the current calendar.
 </font><br><br>
<b>Returns:</b><br>
An integer representing the identifier of the current calendar.<br><br></dd></dl></dd></dl></td></tr>
                <tr><td id="docfooter">
                        Copyright (c) 2005 John Chapman. All rights reserved :: page rendered by CandyDoc. Generated by <a href="http://code.google.com/p/dil">dil</a> on Sun Jun  8 17:12:55 2008.
                </td></tr>
        </table>
</div>
<script></script>
</body></html>